namespace SBlogCore.IntegrationTest.WebAdminApplication.DemoTest
{
    public class UnitTestDemo
    {
        private readonly IDemoService _demoService;
        public UnitTestDemo()
        {
           var di = new SBlogDiService();
           _demoService = di.GetServices<IDemoService>();
        }

        [Fact]
        public async void TestDemo()
        {
            var ss =await _demoService.HelloDemo();
            Assert.Equal("Hello Demo", ss);
        }
    }
}